#pragma once

#ifndef __TEST_H__
#define __TEST_H__

#include <cstdint>

class Test
{
private:
	static uint64_t calc_dirfile_pages(uint64_t NFiles);

public:
	static bool test_disk_create_open_close();
	static bool test_disk_read_write();
	static void test_disk();

	static bool test_disk_manager_create_open_close();
	static bool test_disk_manager_page_alloc_free();
	static bool test_disk_manager_inode_alloc_free();
	static bool test_disk_manager_set_get_inode();
	static bool test_disk_manager_read_write();
	static void test_disk_manager();

	static bool test_dirfile_manager_append_readall_query();
	static bool test_dirfile_manager_find_exist();
	static bool test_dirfile_manager_swap_popback();
	static bool test_dirfile_manager_update_removeall();
	static void test_dirfile_manager();
};

#endif